<?
/**
 * <b>ErrorType Class</b>
 * Published 04/11/2010 18:57:22
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('ErrorClassificationCodeType.php');
require_once('SeverityCodeType.php');
require_once('ErrorParameterType.php');

class ErrorType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var ErrorClassificationCodeType $ErrorClassification
	public $ErrorClassification;
	// @var token $ErrorCode
	public $ErrorCode;
	// @var ErrorParameterType $ErrorParameters
	public $ErrorParameters;
	// @var string $LongMessage
	public $LongMessage;
	// @var SeverityCodeType $SeverityCode
	public $SeverityCode;
	// @var string $ShortMessage
	public $ShortMessage;
	// @var boolean $UserDisplayHint
	public $UserDisplayHint;
 /** End Properties **/

/**
 *
 * @return ErrorClassificationCodeType
 */
	function getErrorClassification(){
		return $this->ErrorClassification;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setErrorClassification($value){
		$this->ErrorClassification = $value;
	}


/**
 *
 * @return token
 */
	function getErrorCode(){
		return $this->ErrorCode;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setErrorCode($value){
		$this->ErrorCode = $value;
	}


/**
 *
 * @return ErrorParameterType
 */
	function getErrorParameters(){
		return $this->ErrorParameters;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setErrorParameters($value){
		$this->ErrorParameters = $value;
	}


/**
 *
 * @return string
 */
	function getLongMessage(){
		return $this->LongMessage;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setLongMessage($value){
		$this->LongMessage = $value;
	}


/**
 *
 * @return SeverityCodeType
 */
	function getSeverityCode(){
		return $this->SeverityCode;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSeverityCode($value){
		$this->SeverityCode = $value;
	}


/**
 *
 * @return string
 */
	function getShortMessage(){
		return $this->ShortMessage;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setShortMessage($value){
		$this->ShortMessage = $value;
	}


/**
 *
 * @return boolean
 */
	function getUserDisplayHint(){
		return $this->UserDisplayHint;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setUserDisplayHint($value){
		$this->UserDisplayHint = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("ErrorType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"ErrorClassification"=>
					array(
						"required"=>false,
						"type"=>"ErrorClassificationCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ErrorCode"=>
					array(
						"required"=>false,
						"type"=>"token",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ErrorParameters"=>
					array(
						"required"=>false,
						"type"=>"ErrorParameterType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..*"
					),
				"LongMessage"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SeverityCode"=>
					array(
						"required"=>false,
						"type"=>"SeverityCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ShortMessage"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"UserDisplayHint"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
